package formdata

type GetSpikesGoodsInfo struct {
	GoodsID    string `json:"goods_id"`
	ActivityID string `json:"activity_id"`
	SkuID      string `json:"sku_id"`
}

// 活动列表
type ActivityList struct {
	SpikesActivityID int64  `json:"spikes_activity_id"`
	SpikesTitle      string `json:"spikes_title"`
	SpikeStartTime   string `json:"spike_start_time"`
	SpikeEndTime     string `json:"spike_end_time"`
	SpikeStatus      int32  `json:"spike_status"`
}
type GetSpikesGoodsList struct {
	Page             int64 `json:"page"`
	PageSize         int64 `json:"page_size"`
	SpikesActivityID int64 `json:"spikes_activity_id"`
}
type CreateSpikesGoodsSku struct {
	SpikesID    int64   `json:"spikes_id"`
	SkuID       int64   `json:"sku_id"`
	SpikesStock int64   `json:"spikes_stock"`
	Price       float32 `json:"price"`
	SpikesPrice float32 `json:"spikes_price"`
	UserID      int64   `json:"user_id"`
}

// SpikesGoodsInfo 定义秒杀商品信息结构体
type SpikesGoodsInfo struct {
	GoodsID     int64  `json:"goods_id"`
	SkuID       int64  `json:"sku_id"`
	GoodsImg    string `json:"goods_img"`
	GoodsTitle  string `json:"goods_title"`
	SpikesStock int64  `json:"spikes_stock"`
	GoodsPrice  string `json:"goods_price"`
	SpikesPrice string `json:"spikes_price"`
}

// SpikesGoodsDetail 秒杀商品信息
type SpikesGoodsDetail struct {
	GoodsID     int64
	Title       string
	Point       int64
	Description string
	Img         string
	SpikesID    int64
	SkuID       int64
	Price       float32
	SpikesStock int64
	SpikesPrice string
}
